The php language comes with many encryption and decryption methods and extensions. today we will introduce one of the extended mcrypt extensions, which encapsulates common encryption algorithms. In fact, this extension is the encapsulation of the
Php mcrypt-based encryption and decryption instances and mcrypt-based encryption and decryption instances
This example describes how to implement encryption and decryption Based on mcrypt in php. Share it with you for your reference. The specific
Share the installation and application skills of the PHP encrypted Extension Library Mcrypt. Among them, the Mcrypt extension library can implement encryption and decryption, that is, both plaintext encryption and ciphertext restoration. 1. the PHP
Enable encryption and detailed parsing of the decryption process in mcrypt. The Mcrypt extension library can implement encryption and decryption, that is, it can encrypt or restore the plaintext. 1. when the PHP encryption extension Library Mcrypt
The PHP encryption extension library includes Mcrypt and Mhash. among them, the Mcrypt extension library can implement encryption and decryption. today we are talking about the Mcrypt function and the simple introduction of the instance mcrypt.
When
The PHP encryption extension library includes Mcrypt and Mhash. among them, the Mcrypt extension library can implement encryption and decryption. today we are talking about the Mcrypt function and the simple introduction of the instance mcrypt.
When
In php, if we want to use the PHP Mcrypt to encrypt the extension library, we must first install the encrypted extension library and then use it, because it is not installed by default like the gd library.
Mcrypt
When writing code programs, PHP
Among them, the Mcrypt extension library can implement encryption and decryption, that is, both plaintext encryption and ciphertext restoration.
1. Install the PHP encryption extension library Mcrypt
Mrcypt is not installed in the standard PHP
The Mcrypt Library supports more than 20 encryption algorithms and 8 encryption modes. You can use the mcrypt_list_algorithms () and mcrypt_list_modes () functions to display them.
The Mcrypt Library supports more than 20 encryption algorithms and 8
The mcrypt extension cannot be loaded. check the PHP configuration ultimate solution. The mcrypt extension cannot be loaded. check the PHP configuration and the following situations may cause the phpmyadmin program to run and prompt "unable to load
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.